/*
 * Copyright 2017-8-30 13:56:25 The JA-SIG Collaborative. All rights reserved.
 * distributed with thi file and available online at
 */
package com.lap.scp.admin.domain;

import org.apache.commons.lang3.builder.ReflectionToStringBuilder;

import com.lap.scd.commons.domain.IntegerDO;

/**
 * <pre>
 * // TODO 注释
 * </pre>
 * 
 * @author 系统自动生成 Exp
 * @Date 2017-8-30 13:56:25
 * @since 1.0
 */
public class UserDO extends IntegerDO {
	private static final long serialVersionUID = -7841807584087011166L;
	/**
	 * 系统用户登录名,长度:64
	 */
	private String username;
	/**
	 * 登录密码,长度:64
	 */
	private String passwd;
	/**
	 * 真实姓名,长度:8
	 */
	private String trueName;
	/**
	 * 用户邮箱地址,长度:64
	 */
	private String email;
	/**
	 * 部门ID,长度:20
	 */
	private int deptId;
	/**
	 * 职位ID,长度:20
	 */
	private int jobId;
	/**
	 * 状态，0-正常，10-禁用,长度:11
	 */
	private int status;
	/**
	 * 生日：记录到日期,长度:10
	 */
	private String birthday;
	/**
	 * 性别：0-未知，1-男，2-女,长度:11
	 */
	private int sex;
	/**
	 * deptId关联deptDO.name
	 */
	private DeptDO deptDO;
	/**
	 * jobId关联jobDo.name
	 */
	private JobDO jobDO;

	public DeptDO getDeptDO() {
		return deptDO;
	}

	public void setDeptDO(DeptDO deptDO) {
		this.deptDO = deptDO;
	}

	public JobDO getJobDO() {
		return jobDO;
	}

	public void setJobDO(JobDO jobDO) {
		this.jobDO = jobDO;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getUsername() {
		return username;
	}

	public void setPasswd(String passwd) {
		this.passwd = passwd;
	}

	public String getPasswd() {
		return passwd;
	}

	public void setTrueName(String trueName) {
		this.trueName = trueName;
	}

	public String getTrueName() {
		return trueName;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getEmail() {
		return email;
	}

	public int getDeptId() {
		return deptId;
	}

	public void setDeptId(int deptId) {
		this.deptId = deptId;
	}

	public int getJobId() {
		return jobId;
	}

	public void setJobId(int jobId) {
		this.jobId = jobId;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public int getStatus() {
		return status;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public String getBirthday() {
		return birthday;
	}

	public void setSex(int sex) {
		this.sex = sex;
	}

	public int getSex() {
		return sex;
	}

	@Override
	public String toString() {
		return ReflectionToStringBuilder.toString(this);
	}

}
